package com.bk.service;

import com.bk.domain.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bk.utils.Result;

/**
* @author 24940
* @description 针对表【article】的数据库操作Service
* @createDate 2024-04-04 11:19:56
*/
public interface ArticleService extends IService<Article> {

    Result addArticle(Article article);

    Result getArticleByAuthorId(Integer authorId);

    Result draft(Article article);

    Result updateArt(Article article);

    Result search(String keyword);
}
